package com.yamaikj.feign;

import org.springframework.cloud.netflix.feign.FeignClient;
import org.springframework.web.bind.annotation.RequestMapping;

@FeignClient(value = "goods-service-controller",fallbackFactory = GoodsServiceHystric.class)
public interface GoodsServiceFeign {

    @RequestMapping(value = "/goods/save")
    String save();

}
